<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<div class="pageContent" >
<center>
	<form onsubmit="return validateCallback(this, navTabAjaxDone);" rel="emp_list"
	 class="pageForm required-validate" action="admin/emp!add" method="post" novalidate="novalidate">
		<input type="hidden" value="${method }" name="method" >
		<input type="hidden" value="${id==null ? 0 : id }" name="id"> 
		<div  class="pageFormContent" layoutH="56" style="width:550px; overflow: auto;">
			<p>
				<label>员工工号:</label>
				<input id="empId" alt="请输入员工工号" type="text" value="${emp.empId }" size="30" name="empId" class="required digits textInput">
				<label for="empId" class="alt" style="width: 188px; 
			top: 5px; left: 130px; opacity: 1; display: none;">请输入员工工号</label>
			
			</p>
			
			<p>
				<label>员工姓名：</label>
				<input type="text" alt="请输入员工姓名" value="${emp.realName }" 
				size="30" class="required textInput" name="realName" id="name_4220">
			<label for="name_4220" class="alt" style="width: 188px; 
			top: 5px; left: 130px; opacity: 1; display: none;">请输入员工姓名</label>
			
			</p>
			
			<p>
				<label>部门名称：</label>
				<input id="dept" type="text" alt="请输入部门名称" value="${emp.dept }" 
				size="30" class="required textInput" name="dept" >
				<label for="dept" class="alt" style="width: 188px; 
			top: 5px; left: 130px; opacity: 1; display: none;">请输入部门名称</label>
			
			</p>		
	
			<p>
				<label>员工类型：</label>
				<select class="required" name="type">
					<option value="">请选择</option>
					<option value="员工">员工</option>
					<option selected="" value="管理员">管理员</option>
				</select>
			</p>
			<p>
				<label>电子邮箱：</label>
				<input id="email" type="text" alt="请输入电子邮箱" value="${emp.email }" 
				size="30" class="required textInput" name="email" >
				<label for="email" class="alt" style="width: 188px; 
			top: 5px; left: 130px; opacity: 1; display: none;">请输入部门名称</label>
			
			</p>
			<p>
				<label>手机号码：</label>
				<input id="mobile" type="text" alt="请输入手机号码" value="${emp.mobile }" 
				size="30" class="required textInput" name="mobile" >
				<label for="mobile" class="alt" style="width: 188px; 
			top: 5px; left: 130px; opacity: 1; display: none;">请输入部门名称</label>
			
			</p>
			<p>
				<label>密&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
				<input type="text" alt="请输入密码" value="${emp.password }" 
				size="30" class="required textInput" name="password" id="pwd">
				<label for="pwd" class="alt" style="width: 188px; 
			top: 5px; left: 130px; opacity: 1; display: none;">请输入密码</label>
			
			</p>			
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="buttonActive"><div class="buttonContent"><button type="reset">重置</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button class="close" type="button">取消</button></div></div>
				</li>
			</ul>
			
		</div>
	</form>
	</center>
</div>
